# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_PN="murrine:"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Murrine GTK+2 Cairo Engine"
HOMEPAGE="http://cimi.netsons.org/pages/murrine.php"
#URI_PREFIX="http://cimi.netsons.org/media/download_gallery"
#SRC_URI="${URI_PREFIX}/${MY_PN}/${MY_P}.tar.bz2 ${URI_PREFIX}/MurrinaFancyCandy.tar.bz2 ${URI_PREFIX}/MurrinaVerdeOlivo.tar.bz2 ${URI_PREFIX}/MurrinaGilouche.tar.bz2 ${URI_PREFIX}/MurrinaLoveGray.tar.bz2 ${URI_PREFIX}/MurrineThemePack.tar.bz2" 

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=">=x11-libs/gtk+-2.6"

S="${WORKDIR}/${MY_P}"

src_compile() {
	econf --enable-animation --enable-macmenu || die
	emake || die
}

src_install() {
	emake DESTDIR="${D}" install || die

	dodir /usr/share/themes
	insinto /usr/share/themes
	doins -r ${WORKDIR}/Murrina*
}


